<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="ttp://www.security.com/tag" prefix="sc"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
  <head>
    <title>短信通</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <script src="js/alai_tree/alai_menu_xp.js"></script>
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <style type="text/css"> 
　　 <!-- 
　　 
　　 a:active {text-decoration:blink} 
　　 a:hover {text-decoration:underline;color: red} 
　　  
	.mylink {text-decoration: none;color: green} 
	.myonlink {text-decoration: none;color: red} 
	　　 --> 
　　 </style>
  </head>
  
  <body style="overflow-x:hidden;overflow-y:hidden;margin-top: 0;margin-right: 20" >
  	<table class="btntable" width="100%" height="100%" border="1" style="padding-top: 0px;border-collapse:collapse;"><tr height="97%"><td align="center" >
    <table class="btntable" width="900" height="100%" border="0">
    	<tr height="100"><td valign="top"> <img src="images/log.jpg" width="100%" height="100%"></td></tr>
    	<tr height="20" bgcolor="#F6F8FD">
    		<td background="images/btn_bg.gif" id="tdGuid" style="background-color:#eeeeee;width:100%;height:27;" colspan="3">
			</td>
    	</tr>
    	<tr height="20" style="display: none" bgcolor="#F6F8FD">
    		<td>
    		    <sc:A className="myonlink" name="sendmsmsa" onclick="navigateclick('mainmenu',this)" href="jsp/SmsSendClient.jsp" group="mainmenu" processcode="smssned" target="workplace"  label="短信群发"/>
    		    <sc:A className="mylink" name="sendexcelmsmsa" onclick="navigateclick('mainmenu',this)" href="jsp/excelSendClient.jsp" group="mainmenu" processcode="smssned" target="workplace"  label="EXCEL记录发送"/>
    			<sc:A className="mylink" onclick="navigateclick('mainmenu',this)"  href="typedefineList.action" group="mainmenu" processcode="system_manager_smstask" target="workplace"  label="定时发送"/>
    			<sc:A className="mylink" onclick="navigateclick('mainmenu',this)"  href="jsp/SmsSendLog/smssendlogSearch.jsp" group="mainmenu" processcode="smssnedlog" target="workplace"  label="发送记录"/>
    			<sc:A className="mylink" onclick="navigateclick('mainmenu',this)"  href="normalsmsList.action" group="mainmenu" processcode="normalsmsmanager" target="workplace" label="常用短信"/>
    			<sc:A className="mylink" onclick="navigateclick('mainmenu',this)"  href="jsp/Department/departmentTree.jsp" group="mainmenu" processcode="departmentTree" target="workplace"  label="通讯录"/>
    			<sc:A className="mylink" name="systemmanage" onclick="navigateclick('mainmenu',this)" href="jsp/system/systemIndex.jsp" group="mainmenu" processcode="smssned" target="workplace"  label="系统管理"/>
    			<a class="mylink" href="javascript:top.close();">关闭</a>
    			</td></tr>
    	<tr height="20" style="display: none"><td >
    		<table>
    			<tbody>
    			<!--  tr id="plmenu" style="display: block">
	    			<td><a target="workplace" href="jsp/SmsSendClient.jsp">发送短信</a></td>
    			</tr>-->
    			<tr id="scmenu" style="display: none"><td><a target="workplace" href="tuserList.action">联系人资料</a></td></tr>
    			 <tr id="zjmenu" style="display: none"><td><a target="workplace" href="#">短信发送记录查询</td></tr>
    			<!--<tr id="kcmenu" style="display: none"><td>库存区1</td><td>库存区2</td><td>库存区3</td><td>库存区4</td></tr>
    			<tr id="jkmenu" style="display: none"><td>监控1</td><td>监控2</td><td>监控3</td><td>监控4</td></tr>-->
    			<tr id="xtmenu" style="display: none"><td><a target="workplace" href="typedefineList.action">定时发送管理</a></td></tr>
    			</tbody>
    		</table>
    	</td></tr>
    	<tr height="70%"><td ><iframe frameborder="0"  name="workplace" width="100%" height="100%" src="jsp/SmsSendClient.jsp" scrolling="auto"></iframe></td></tr>
    	
    </table>
       </td></tr>
    <tr><td class="footer">
    版权所有 : <a href="http://www.Gotopweb.com" target="_blank">www.gotopweb.com</a>
	&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
	<a href="mailto:<developer>peixere@gmail.com" target="_blank">联系我们</a>
    </td></tr>
    </table>
    <script type="text/javascript">
    function guidbar()
{
	var bar=this
	bar.item=[]
	var imgBall0=new Image
	var imgBall1=new Image
	imgBall0.src="images/ball.gif"
	imgBall1.src="images/ball2.gif"
	bar.add=function(Text,mnu)
	{
		var item=document.createElement("span")
		tdGuid.insertAdjacentElement("beforeEnd",item)
		var img=new Image
		img.src=imgBall0.src
		item.insertAdjacentElement("beforeEnd",img)
		var lnk=document.createElement("span")
		item.insertAdjacentElement("beforeEnd",lnk)
		lnk.innerText=Text
		lnk.className="guidlink"
		item.style.cssText="cursor:default;margin-left:10;font-size:11pt;width:100;heigth:24"
		bar.item[bar.item.length]=item
		item.onmouseover=function()
		{
			document.body.click()
			if(mnu!=null)mnu.show(item)
			var img=document.all[item.sourceIndex+1]
			img.src=imgBall1.src
			this.style.color="blue"
		}
		item.onmouseout=function()
		{
			var img=document.all[item.sourceIndex+1]
			img.src=imgBall0.src
			this.style.color="black"
		}
		return item
	}
}

	var sendms=new alai_menu_xp();
	var mshostory=new alai_menu_xp();
	var msseting=new alai_menu_xp();
	var userInfo=new alai_menu_xp();
	var usercenter=new alai_menu_xp();
	var systemmanager=new alai_menu_xp();
	var g1=new guidbar()
    </script>
    
    <sc:component processcode="smssend"  >
		<script>sendms.addLink("jsp/SmsSendClient.jsp","短信群发","workplace")</script>
	</sc:component>
	 <sc:component processcode="smssend_excel"  >
    	<script>sendms.addLink("jsp/excelSendClient.jsp","Excel短信群发","workplace")</script>
    </sc:component>
    <sc:component processcode="sminfo_time"  >
    	<script>//mshostory.addLink("http://www.baidu.com","时间段检索","workplace")</script>
    </sc:component>
    <sc:component processcode="smssnedlog"  >
    	<script>mshostory.addLink("jsp/SmsSendLog/smssendlogSearch.jsp","高级检索","workplace")</script>
    </sc:component>
    
    <sc:component processcode="normalsmsmanager">
    	<script>msseting.addLink("normalsmsList.action","常用短信","workplace")</script>
    </sc:component>
    <sc:component processcode="system_manager_smstask">
    	<script>msseting.addLink("typedefineList.action","定时发送","workplace")</script>
    </sc:component>
    <sc:component processcode="system_manager_smstask">
    	<script>systemmanager.addLink("roleList.action","角色管理","workplace")</script>
    </sc:component>
    
    <sc:component processcode="sys_process_manage">
    	<script>systemmanager.addLink("processList.action","功能管理","workplace")</script>
    </sc:component>
    
    <sc:component processcode="departmentTree">
    	<script>userInfo.addLink("jsp/Department/departmentTree.jsp","公司人员","workplace")</script>
    </sc:component>
    
    <script>
    	g1.add("短信发送",sendms);
    	g1.add("发送记录",mshostory);
    	g1.add("花名册",userInfo);
    	g1.add("短信设置",msseting);
    	g1.add("个人中心",usercenter);
    	usercenter.addLink("jsp/Userlist/passwordEdit.jsp","修改密码","workplace")
    	g1.add("系统管理",systemmanager);
    	systemmanager.add("关闭","images/ball.gif","js","window.close();");
    	function clearMenu(){
    		document.body.click();
    	}
    </script>
  </body>
</html>
<script>
	var lastObj=document.all.sendmsmsa;
	function navigateclick(groupName,currentObj){
		if(lastObj){
			lastObj.style.color='green';
		}
		currentObj.style.color='#ff0000';
		lastObj=currentObj;
		//alert(currentObj.innerHTML)
	}
	var oldmenu=document.getElementById('plmenu');
	function showMenu(menuobj){
		
		if(!menuobj.style)
			menuobj=document.getElementById(menuobj);
		if(oldmenu==menuobj){
			
		}else{
			if(oldmenu)
				oldmenu.style.display='none';
			menuobj.style.display='block';
			oldmenu=menuobj;
			
		}
		
	}
	
	function showTopMeu(link){
		if(oldmenu)oldmenu.style.display='none';
		document.all.workplace.src=link;
	}
</script>

